{% load helpers %}

{% with relationships=relationships_fields_override %}
    {% if relationships.source or relationships.destination or relationships.peer %}
        <div class="card">
            <div class="card-header">
                <strong>Relationships</strong>
            </div>
            <table class="table table-hover card-body attr-table">
                {% include 'inc/relationships_table_rows.html' with relationships_data=relationships_fields_override %}
            </table>
        </div>
    {% endif %}
{% endwith %}